package com.wsjc.common.core.test;

/**
 * Druid 密码加密工具类.
 * @author  .
 *
 */
public class DruidPasswdEncrypt {

  /**
   * @param args
   */
  public static void main(String[] args) {
	  
    try {
      String str = com.alibaba.druid.filter.config.ConfigTools.encrypt("Ac4uwKu2ScEh&j4ubdUL");
      System.out.println(str);

      //String str2 = com.alibaba.druid.filter.config.ConfigTools.decrypt("");
      //System.out.println(str2);
    } catch (Exception e) {
      e.printStackTrace();
    }

  }

}
